//
//  USMessageViewModel.h
//  us
//
//  Created by karry on 2025/4/6.
//

#import <Foundation/Foundation.h>

#import "USChatCustomModel.h"
@class USChatCell;

typedef NS_ENUM(NSInteger, EMMessageType) {
    EMMessageTypeText = 1,
    EMMessageTypeImage,
    EMMessageTypeVideo,
    EMMessageTypeLocation,
    EMMessageTypeVoice,
    EMMessageTypeFile,
    EMMessageTypeCmd,
    EMMessageTypeCustom,
    EMMessageTypeExtGif = 50,
    EMMessageTypeExtRecall,
    EMMessageTypeExtCall,
    EMMessageTypeExtNewFriend,
    EMMessageTypePictMixText,
    EMMessageTypeExtAddGroup,
    EMMessageTypeURLPreview,
};

NS_ASSUME_NONNULL_BEGIN

@interface USMessageViewModel : NSObject

//是否显示时间
@property (nonatomic) BOOL showTime;

@property (nonatomic) EMChatMessage* message;

@property (nonatomic) BOOL isPlaying;

@property (nonatomic,weak) USChatCell *cell;

@end

NS_ASSUME_NONNULL_END
